#
#  Be sure to run `pod spec lint PolyvCloudClassSDK.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|
  s.name         = "ABN_PolyvCloudClassSDK"
  s.version      = "0.8.0"
  s.summary      = "保利威 iOS 云课堂 SDK."

  s.homepage     = "http://git.polyv.net/ios/PolyvCloudClassSDK"
  s.license      = "MIT"
  s.author       = { "ftao" => "fft1026@163.com" }
  
  s.platform     = :ios, "8.0"
  s.source       = { :git => "http://git.polyv.net/ios/PolyvCloudClassSDK.git", :tag => "#{s.version}" }

  s.requires_arc = true

  s.subspec 'Base' do |bs|
    bs.vendored_frameworks = 'Frameworks/*.framework'

    bs.dependency "SDWebImage", "~> 4.4.0"
    bs.dependency "AFNetworking", "~> 3.2.1"
    bs.dependency "AgoraRtcEngine_iOS", "~> 2.3.1"
  end

  s.subspec 'Business' do |bs|
    bs.dependency "ABN_PolyvBusinessSDK", "0.7.3"
  end

  s.subspec 'Player' do |cs|
    cs.dependency 'PolyvIJKPlayer', '~> 0.4.0'
  end
  
  s.subspec 'Core' do |cs|
    cs.dependency 'ABN_PolyvCloudClassSDK/Base'
    cs.dependency 'ABN_PolyvCloudClassSDK/Business'
  end

  s.default_subspec = 'Core', 'Player'
end